package com.mariusz.data.dto;

import java.io.Serializable;
import java.util.Date;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class Payment implements Serializable{
	private Date paymentDate;
	private Double amount = new Double(0);
	private boolean paied;
	private String notes;
	
	public void setPaymentDate(Date paymentDate) {
		this.paymentDate = paymentDate;
	}
	@XmlElement
	public Date getPaymentDate() {
		return paymentDate;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	@XmlElement
	public Double getAmount() {
		return amount;
	}
	public void setPaied(boolean paied) {
		this.paied = paied;
	}
	@XmlElement
	public boolean isPaied() {
		return paied;
	}
	public void setNotes(String notes) {
		this.notes = notes;
	}
	@XmlElement
	public String getNotes() {
		return notes;
	}
}
